using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class OrderProcess
    {
        public OrderProcess()
        {
            this.CostDetails = new List<CostDetail>();
            this.SubprocessDetails = new List<SubprocessDetail>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public Nullable<System.DateTime> StartDate { get; set; }
        public Nullable<System.DateTime> EndDate { get; set; }
        public Nullable<int> ProductModelID { get; set; }
        public Nullable<int> Quantity { get; set; }
        public string Note { get; set; }
        public Nullable<int> OrderID { get; set; }
        public Nullable<int> Status { get; set; }
        public virtual ICollection<CostDetail> CostDetails { get; set; }
        public virtual Order Order { get; set; }
        public virtual ProductModel ProductModel { get; set; }
        public virtual ICollection<SubprocessDetail> SubprocessDetails { get; set; }
    }
}
